package com.jai.pms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 项目管理对象 pms_project
 * 
 * @author v
 * @date 2023-10-18
 */
public class Project extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String code;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 中文名称 */
    @Excel(name = "中文名称")
    private String cname;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String ename;

    /** 项目类别 */
    @Excel(name = "项目类别")
    private Integer projectCategory;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumbnail;

    /** 配置 */
    @Excel(name = "配置")
    private String configuration;

    /** 资产数量 */
    @Excel(name = "资产数量")
    private Integer assetNum;

    /** 镜头数量 */
    @Excel(name = "镜头数量")
    private Integer shotNum;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderNum;

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 项目状态 */
    @Excel(name = "项目状态")
    private Integer projectStatus;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCname(String cname) 
    {
        this.cname = cname;
    }

    public String getCname() 
    {
        return cname;
    }
    public void setEname(String ename) 
    {
        this.ename = ename;
    }

    public String getEname() 
    {
        return ename;
    }
    public void setProjectCategory(Integer projectCategory) 
    {
        this.projectCategory = projectCategory;
    }

    public Integer getProjectCategory() 
    {
        return projectCategory;
    }
    public void setThumbnail(String thumbnail) 
    {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() 
    {
        return thumbnail;
    }
    public void setConfiguration(String configuration) 
    {
        this.configuration = configuration;
    }

    public String getConfiguration() 
    {
        return configuration;
    }
    public void setAssetNum(Integer assetNum) 
    {
        this.assetNum = assetNum;
    }

    public Integer getAssetNum() 
    {
        return assetNum;
    }
    public void setShotNum(Integer shotNum) 
    {
        this.shotNum = shotNum;
    }

    public Integer getShotNum() 
    {
        return shotNum;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setProjectStatus(Integer projectStatus) 
    {
        this.projectStatus = projectStatus;
    }

    public Integer getProjectStatus() 
    {
        return projectStatus;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("cname", getCname())
            .append("ename", getEname())
            .append("projectCategory", getProjectCategory())
            .append("thumbnail", getThumbnail())
            .append("configuration", getConfiguration())
            .append("assetNum", getAssetNum())
            .append("shotNum", getShotNum())
            .append("orderNum", getOrderNum())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("projectStatus", getProjectStatus())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
